package com.yuanian.timingwheel.threadpool;

/**
 * 线程被打断的原因
 */
public enum ThreadInterruptReason {

    ADDNEWTASK("加入了新任务"), RESUMETASK("恢复了任务"), RESUMESERVER("恢复了服务");

    private String type;

    ThreadInterruptReason(String type) {
        this.type = type;
    }

}
